package com.cloud.api.domain.tsp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cloud.core.entity.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author haohaibo
 * @since 2023-11-29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_command_exec_latest")
@Schema(name = "CommandExecLatest", description = "审核表最新记录")
public class CommandExecLatest extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    @TableId("id")
    private String id;

    @Schema(description = "vin")
    @TableField("vin")
    private String vin;

    @Schema(description = "下发命令")
    @TableField("command")
    private String command;

    @Schema(description = "命令名称",hidden = true)
    @TableField(exist = false)
    private String commandName;

    @Schema(description = "状态:未审核,审核不通过,已下发")
    @TableField("status")
    private String status;

    @Schema(description = "车辆状态: 1 online, 0 offline",hidden = true)
    @TableField(exist = false)
    private String vehicleStatus;
}
